package com.ziyun.pop.mall.module.user.service;

import com.service.ucenter.constant.UcenterResult;
import com.service.ucenter.exception.UserException;

/**
 * 用户预支付密码管理
 * @author husong
 *
 */
public interface PopUserAdvanceService {
	
	/**
	 * 修改预存款密码
	 * @param mobile
	 * @param newPassword
	 * @param loginName
	 * @return
	 */
	public UcenterResult<?> saveAdvancePass(String mobile,String newPassword,String loginName) throws UserException;
	
	/**
	 * 验证是否设置预存款密码
	 * @return
	 */
	UcenterResult<Boolean> isSetPass() throws UserException;
	
	/**
	 * 检验预存款密码
	 * @param payPassword
	 * @return
	 */
	UcenterResult<Boolean> checkAdvancePass(String payPassword) throws UserException;
}
